package intraverbal;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;

public class Conexao {
    
    
    public Connection conexao() {
        Connection conexao = null;
        try {
             conexao = DriverManager.getConnection("jdbc:postgresql://localhost:5432/intraverbal", "postgres", "123456");
             
        } catch (SQLException ex) {
            Logger.getLogger(Conexao.class.getName()).log(Level.SEVERE, null, ex);
        }
        return conexao;
    }
    
}
